package com.lcf.system.dto;

import com.lcf.framework.annotation.DictFile;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品评价(GoodsComment)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:01
 */
@Data
@NoArgsConstructor
public class GoodsCommentDTO {
    //商品id
    @Schema(description = "商品id")
    @NotNull(message = "商品id不能为空")
    private Long goodsId;
    //评价内容
    @Schema(description = "评价内容")
    @NotNull(message = "评价内容不能为空")
    private String commentContent;
    //评价图片
    @Schema(description = "评价图片")
    @DictFile
    private String commentImg;
}

